//
//  SJOAppview.m
//  九宫格
//
//  Created by song on 15/1/6.
//  Copyright (c) 2015年 song. All rights reserved.
//

#import "SJOAppview.h"
#import "SJOApp.h"

@interface SJOAppview ()

@property (weak, nonatomic) IBOutlet UIImageView *icon;

@property (weak, nonatomic) IBOutlet UILabel *name;

@end

@implementation SJOAppview

-(void )setApp:(SJOApp *)app
{
    _icon.image =[UIImage imageNamed:app.icon];
    _name.text = app.name;
}

@end
